package com.tao.service.storage;

import com.tao.dao.StorageMapper;
import com.tao.pojo.Storage;
import com.tao.pojo.StorageExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;

/**
 * Created by tao on 2018/8/14.
 */
@Service
public class StorageServiceImpI implements IstorageService{
    @Autowired
    StorageMapper storageMapper;
    @Override
    public List<Storage> getStorage(StorageExample storageExample) {
        // TODO Auto-generated method stub
        return storageMapper.selectByExample(storageExample);
    }

}
